package util;

import org.aspectj.weaver.patterns.ThisOrTargetAnnotationPointcut;

import com.google.gson.Gson;

public class ToJson {
	private static Gson gson;
	public static String toJson(Object object){
		if(gson==null){
			gson = new Gson();
		}
		String result = gson.toJson(object);
		return result;
	}
}
